package com.ls.fw.web.file.bean;
import java.io.Serializable;

import com.ls.fw.web.core.servlet.bean.AjaxResult;

/**
 * @author Defender
 * 2014年2月21日 下午10:44:13
 */
public class FileErrorInfo implements Serializable {

	private int statusCode = AjaxResult.FAIL;
	private String msg = "";
	private String fileName = "";
	private String fieldName = "";
	
	
	public int getStatusCode() {
		return statusCode;
	}
	public void setStatusCode(int statusCode) {
		this.statusCode = statusCode;
	}
	public String getMsg() {
		return msg;
	}
	public void setMsg(String msg) {
		this.msg = msg;
	}
	public String getFileName() {
		return fileName;
	}
	public void setFileName(String fileName) {
		this.fileName = fileName;
	}
	@Override
	public String toString() {
		StringBuilder builder = new StringBuilder();
		builder.append("FileErrorInfo [statusCode=");
		builder.append(this.statusCode);
		builder.append(", msg=");
		builder.append(this.msg);
		builder.append(", fileName=");
		builder.append(this.fileName);
		builder.append(", fieldName=");
		builder.append(this.fieldName);
		builder.append("]");
		return builder.toString();
	}
	public String getFieldName() {
		return fieldName;
	}
	public void setFieldName(String fieldName) {
		this.fieldName = fieldName;
	}
}
